package com.intretech.tj.web.callback

import jakarta.json.bind.annotation.JsonbCreator
import jakarta.json.bind.annotation.JsonbProperty

// 灯接收数据存储类
data class LightDataBody @JsonbCreator constructor(
    @JsonbProperty("id") val id:Int,
    @JsonbProperty("state")val state:Int,
    @JsonbProperty("redTime")val redTime:Int,
    @JsonbProperty("greenTime")val greenTime:Int,
    @JsonbProperty("yellowTime")val yellowTime:Int,
    @JsonbProperty("time")val time:Int
)
